package org.example.test_03.Mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.example.test_03.Domian.Ad;

import java.util.List;

/**
 * @Author lands
 * @Date 2024/8/14 10:25
 * @Description 轮播图的数据库操作类
 */
@Mapper
public interface AdMapper {
    int deleteAd(int id);
    List<Ad> selectAd(@Param("name")String name,@Param("content") String content);
    int addAd(Ad ad);
    int updateAd(Ad ad);
}
